<?php


namespace app\common\model;


use think\Model;

class GoodsImages extends Model
{
    protected $pk = "img_id";
    // 关闭时间戳自动写入
    protected $autoWriteTimestamp = false;
    public function getPkAttr($value,$data) {
        return $this->pk;
    }
}